.docDetailSide {
  height: 100vh;
  display: flex;
}

.sider {
  height: 100vh;      // 让侧边栏始终撑满视口高度
  min-height: 0;      // 防止flex布局下高度塌陷
  display: flex;
  flex-direction: column;
  /* background 由动态 theme 控制 */
}

.searchSection {
  padding: 16px;
  height: 300px;
  border-bottom: 1px solid #f0f0f0;
}

.docListSection {
  flex: 1;
  height: 620px;
  overflow-y: auto;
  padding: 16px;
  min-height: 0; 
}

.docListTitle {
  margin-bottom: 16px;
}

.loadingContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.emptyContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.docListWrapper {
  width: 100%;
}

.docItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-weight: 400;
  color: #222;
  transition: all 0.05s;
  margin-bottom: 4px;
  box-shadow: none;
}

.docItemSelected {
  background: #e6f4ff;
  border: 1.5px solid #1677ff;
  font-weight: 600;
  color: #1890ff;
  box-shadow: 0 2px 8px 0 rgba(22, 119, 255, 0.08);
}

.docItemTitle {
  flex: 1;
  overflow: hidden;
}